﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using KC.DTO.Core;
using ProtoBuf;

namespace KC.DTO.Dictionary
{
    [Serializable, DataContract(IsReference = true)]
    [ProtoContract(ImplicitFields = ImplicitFields.AllPublic)]
    public class CodeDTO : EntityDTO
    {
        [DataMember]
        public int CodeId { get; set; }
        [DataMember]
        public string CodeName { get; set; }
        [DataMember]
        public string Remark { get; set; }
        [DataMember]
        public int Index { get; set; }
        [DataMember]
        public string Expand1 { get; set; }
        [DataMember]
        public string Expand2 { get; set; }
        [DataMember]
        public string Expand3 { get; set; }
        [DataMember]
        public int CodeTypeId { get; set; }
        [DataMember]
        public string CodeTypeName { get; set; }
    }
}
